/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.tawriq.assignment2.question1.Inheritance.Config;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.tawriq.assignment2.question1.Inheritance.Male;
import za.ac.cput.tawriq.assignment2.question1.Inheritance.Person;


/**
 *
 * @author Tawriq
 */
@Configurable
public class Config {
    @Bean 
    public Person person()
    {
        return new Person();
    }
    
    public Male male()
    {
        return new Male();
    }
}
